home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 2
/
Meeting Pearls Vol. II (1995)(GTI - Schatztruhe)[!].iso
/
Pearls
/
gfx
/
pbm
/
doc
/
manual.updates
< prev
next >
Wrap
Text File
|
1995-01-23
|
2KB
|
47 lines
A few things that are not mentioned in the manual pages:
ppmhist has a new option "-map", this causes the histogram
to be printed in PPM P3 format, suitable to be used as a
colormap for ppmquant.
pnmcomp accepts a PBM mask file instead of PGM alpha map with
the -mask option. A value of PBM_WHITE in the mask means
a tranparent pixel, PBM_BLACK an opaque pixel. This can
be reversed with the -inverse option. The outfile has been
remove from the args list, it now writes always to stdout.
pnmscale accepts a few more options:
-maxxsize or -maxwidth
-maxysize or -maxheight
Scale width (height) to fit into the given size, but to not scale
if the width (height) is already smaller than this.
-minxsize or -minwidth
-minysize or -minheight
Same as above, but scales if the width (height) is smaller and does
not scale if it is already larger.
-maxxysize or -maxsize
-minxysize or -minsize
Same as above for both width and height, keeping aspect ratio.
Example:
pnmscale -maxsize 800 600 infile.ppm > outfile.ppm
Scales the infile to fit into 800x600 pixels, but does not scale if the
size of the image is already smaller than 800x600.
ppmchange now accepts any number of changes on the command line, and you can
also use a file containing the changes with the -file option. The -other
option can be used to change any color that is _not_ in the changes list.
The rexx directory contains AReXX-versions of the Unix shell-scripts anytopnm,
pnmindex, pnmmargin and pnmsmooth. Some of the scripts produce temporary
files that can become quite large. These files are generated in PBMTMP:, if
this assignment does not exists it is assigned to T:.
pnmindex has a few more options:
-qfast use ppmqvga instead of ppmquant for quantization
-qonce only quantize the final image, not every intermediate file
-font <font> passed to pbmtext
-filter <f> run the files through this filter first
-printsizes print image sizes under the file names
-nopath do not print the path in the file names